package com.attendance.www.hr.dao.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.attendance.www.hr.beans.AttachmentBean;
import com.attendance.www.hr.beans.RoleBean;
import com.attendance.www.hr.entitys.Role;

public interface RoleExtMapper {
	
	//查询岗位
	List<RoleBean> getRoleList(@Param("roleBean")RoleBean roleBean,@Param("startNum")Integer startNum,@Param("pageCount")Integer pageCount);
	
	int count(@Param("roleBean")RoleBean roleBean);
	
	List<Role> getRoleListByExcel(@Param("attachmentBean")AttachmentBean attachmentBean);

	//更改rolepath
	void updateRolePath(@Param("roleBean")RoleBean roleBean);
	
	Date selectRoleMinFromDate();
	
	int updateDisabledTimeByRoleId(@Param("roleId")Integer roleId);
}
